{if $smarty.const.debug }
<form class="form-search" method="GET" action="index.php" name="search_form">
{else}
<form class="form-search" method="GET" action="/advanced_search" name="search_form">
    {/if}
    <div class="input-append">
        <input type="text" value="{$keyword}" class="input-medium search-query" name="q" placeholder="片名、艺人、导演" id="search_input" data-provide="typeahead" autocomplete="off">
        <button type="submit" class="btn btn-inverse"><i class="icon-search icon-white"></i> 搜索</button>
    </div>
    {if $smarty.const.debug }
    <input type="hidden" name="action" value="advanced_search" />
    {/if}
</form>